//
//  SJZCommonItem.m
//  SJZCodeUpApp
//
//  Created by 彭利民 on 2017/5/15.
//  Copyright © 2017年 bwton. All rights reserved.
//

#import "SJZCommonItem.h"

@implementation SJZCommonItem

+ (instancetype)itemWithTitle:(NSString *)title icon:(NSString *)icon {
    
    SJZCommonItem *item = [[self alloc] init];
    item.title = title;
    item.icon = icon;
    return  item;
}

+ (instancetype)itemWithTitle:(NSString *)title {
    return [self itemWithTitle:title icon:nil];
}

@end
